package com.yj.cmp.sdk.fusioncompute.network.dvswitch;

import com.yj.cmp.sdk.fusioncompute.network.dvswitch.vo.DVSwitchDetailVo;
import com.yj.cmp.sdk.fusioncompute.network.dvswitch.vo.DVSwitchListVo;
import org.springframework.stereotype.Service;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.HeaderMap;
import retrofit2.http.Path;

import java.util.Map;

/**
 * @author Harvey_Yang
 * @date 2021/8/30 17:57
 */
@Service
public interface FcSwitchService {

    @GET("dvswitchs")
    Call<DVSwitchListVo> DVSwitchList(@HeaderMap Map<String, Object> headers);

    @GET("dvswitchs/{dvswitchId}")
    Call<DVSwitchDetailVo> DVSwitchDetails(@HeaderMap Map<String, Object> headers, @Path("dvswitchId") String switchId);
}
